import axios from "axios"
// 获取数据
export function getAll() {
    return axios.get(" http://localhost:3000/students")
}
// 删除数据
export function delFn(id) {
    return axios.delete(`http://localhost:3000/students/${id}`)
}
